package jndi.ldap.factory;

import jndi.ldap.biz.LdapOperator;

/**
 * @author: Roy.Yang
 * Date: 1/20/12
 */
public class DefaultLdapOperatorDirector implements LdapOperatorDirector {
    private LdapOperatorBuilder builder = new DefaultLdapOperatorBuilder();
    public LdapOperator build() {
        builder.createConnection();
        builder.createOperator();
        return builder.getLdapOperator();
    }
}
